package com.snack.shop.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 热销商品DTO
 */
@Schema(description = "热销商品")
@Data
public class HotProductDTO {
    
    @Schema(description = "商品ID")
    private Long id;
    
    @Schema(description = "商品名称")
    private String name;
    
    @Schema(description = "商品图片")
    private String image;
    
    @Schema(description = "商品单价")
    private BigDecimal price;
    
    @Schema(description = "销量")
    private Integer sales;
    
    @Schema(description = "销售总额")
    private BigDecimal totalAmount;
}

